/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package futbol5;

import java.awt.Component;
import javax.swing.JTable;
import javax.swing.table.TableCellRenderer;

/**
 *
 * @author Ivan
 */
class JProgressBarTableCellRenderer implements TableCellRenderer {

    private TiempoProgressBar progressBar;

    public JProgressBarTableCellRenderer() {
        progressBar = new TiempoProgressBar();
    }

    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
        return progressBar;
    }
}
